package pojo;

/**
 * @author 江岸
 * @version V1.0
 * @ClassName: TreeNode
 * @description: 二叉树
 * @date 2021/3/1910:34
 * @since V1.0
 */
public class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode() {
    }

    public TreeNode(int val) {
        this.val = val;
    }

    public TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
